/*********************************************************
          File Name:9.11.cpp
          Author: Abby Cin
          Mail: abbytsing@gmail.com
          Created Time: Wed 17 Feb 2016 10:25:33 PM CST
**********************************************************/

#include <iostream>
#include <vector>

// six ways to create and initialize vector

int main()
{
    using namespace std;
    /* 1 */
    vector<int> inner{0};

    /* 2 */
    vector<int> v;

    /* 3 */
    vector<int> v1(inner);

    /* 4 */
    vector<int> v2(1, 0);

    /* 5 */
    vector<int> v3(v2.begin(), v2.end());

    /* 6 */
    vector<int> v4(0);

    return 0;
}
